<?php
header('Content-type: text/html; charset=utf-8');
?>
<style type="text/css">
    table td {
        border: 1px solid #000000;
        line-height: 15px;
        padding: 5px;
        font-size: 12px;
    }
</style>
<div id="page_title">Menu Manager :: Administrator</div>
<div align="left"><a href="/admin/menu/additem/"><img src="/images/add_btn_l.gif" alt="Add New" width="32" height="32" />Add New</a></div>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td width="10%" align="center"><b>Menu ID</b></td>
    <td width="35%" align="center"><b>Title</b></td>
    <td width="35%" align="center"><b>URL</b></td>
    <td width="10%" align="center"><b>Parent ID</b></td>
    <td width="10%" align="center"><b>Status</b></td>
  </tr>  

<?php

foreach ($this->menu_arr as $entry): 	
?>
    <tr>
        <td><?php echo $entry['menu_id']; ?></td>
        <td><?php echo $entry['title']; ?></td>
        <td><?php echo $entry['url']; ?></td>
        <td><?php echo $entry['parent_id']; ?></td>
        <td><?php echo $entry['status']; ?></td>
    </tr>
<?php
endforeach;
?>
</table>